<?php
global $base_url;
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
?>

<div class='quick-access'>
    <div class='container'>
        <div class="row">
            <div class='col-md-10 col-lg-offset-1'>
                <ul class='btn-n-news'>

<?php
$contador = 1;
//                        $main_menu = menu_tree("menu-menu-institucional");

$main_menu = menu_tree('menu-menu-comunica-o');
//print_r($main_menu);
//die();

foreach ($main_menu as $strChave => $item):
    
    if($strChave == "#sorted" || $strChave == "#theme_wrappers")
        continue;
        
    $nome_item = $item['#title'];

    $url_item = drupal_get_path_alias($item['#href']);


    $contador++;
    ?>
                        <li>
                            <a href="<?php print $base_url; ?>/<?php print $url_item; ?>">
                                <?php print $nome_item; ?>
                            </a>
                        </li>
    <?php
        endforeach;
    ?>
                </ul>
            </div>
        </div>
    </div>
</div>